package com.music.order.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("pipi-music")
public interface MusicFeign {

    @RequestMapping("/music/feign/findMusicNameById")
    public String getMusicName(@RequestParam("musicId") Long musicId);


    @RequestMapping("/musicsinger/feign/findSingerNameById")
    String getSingerName(@RequestParam("musicId") Long musicId);
}
